package org.x.casemodule.mapper;

import com.mybatisflex.core.BaseMapper;
import com.mybatisflex.core.query.QueryWrapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.x.casemodule.entity.ScheduleParticipantEntity;

@Mapper
public interface ScheduleParticipantMapper extends BaseMapper<ScheduleParticipantEntity> {


    @Delete("DELETE FROM schedule_participant WHERE event_id = #{id}")
    int deleteByEventId(@Param("id") Long eventId);



}

